package com.supply.pojo;

import java.util.Date;

public class SalesBill {
    private Long id;

    private String title;

    private Long goodsId;

    private Long quantity;

    private String remark;

    private Integer state;

    private Date createTime;

    private Long userId;

    public SalesBill(Long id, String title, Long goodsId, Long quantity, String remark, Integer state, Date createTime, Long userId) {
        this.id = id;
        this.title = title;
        this.goodsId = goodsId;
        this.quantity = quantity;
        this.remark = remark;
        this.state = state;
        this.createTime = createTime;
        this.userId = userId;
    }

    public SalesBill() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}